package com.zareal.domain;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Wilson
 * @since 2022-09-28
 */
@TableName("t_pruduct_type")
public class PruductType extends Model<PruductType> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("pruduct_type")
    private String pruductType;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPruductType() {
        return pruductType;
    }

    public void setPruductType(String pruductType) {
        this.pruductType = pruductType;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "PruductType{" +
        ", id=" + id +
        ", pruductType=" + pruductType +
        "}";
    }
}
